package com.hr.emp.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;


@Data
public class EmpInfo {
    private Integer id;
    //员工姓名
    private String empName;
    //员工性别
    private Integer gender;
    //手机号
    private String phone;
    //编号
    private String workCode;
    //部门id
    private Integer deptId;
    //入职时间
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date entryTime;
    //部门领导
    private String leader;
    //部门名称
    private String deptName;
    //工龄
    private String workAge;
}
